import dame.Cat;
import dame.Dog;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name="大黄";
        System.out.println("姓名"+dog.name);
        dog.eat();
        dog.sleep();
        System.out.println("==============");
        Cat cat = new Cat();
        cat.name="小米";
        System.out.println("姓名"+cat.name);
        cat.eat();
        cat.sleep();
    }
}
